package com.young4j.springdemo.domain;

import org.springframework.data.annotation.Id;

/**
 * @Description
 * @Author yf
 * @Date 2019/1/2 17:08
 **/
public class TermStage {
    @Id
    private Long id;
    private Long key;
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TermStage(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public TermStage() {
        this.id = id;
    }

    @Override
    public String toString() {
        return "TermStage{" +
                "id=" + id +
                ", key=" + key +
                ", name='" + name + '\'' +
                '}';
    }
}
